﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace The_Last_Knights.GUI
{
    public class NormalForm : ContentForm
    {
        private NormalButton _closeButton;

        public NormalButton CloseButton
        {
            get { return _closeButton; }
            set { _closeButton = value; }
        }

        public NormalForm(Game game, string ID, Vector2 pos, Vector2 size, Texture2D background, Border border, Groupbox container, NormalButton closeButton) 
            : base(game, ID, pos, size, background, border, container)
        {
            _closeButton = closeButton;
        }

        public override void Draw(GameTime gameTime)
        {
            
            base.Draw(gameTime);
            _closeButton.Draw(gameTime);
        }
    }
}
